package com.ruoyi.task.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 通道配置对象 channel_config
 * 
 * @author ruoyi
 * @date 2025-06-19
 */
public class ChannelConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 通道ID */
    private Long channelId;

    /** 录像机服务器 */
    @Excel(name = "录像机服务器")
    private Long equipmentId;

    /** 设备通道 */
    @Excel(name = "设备通道")
    private String equipmentChannel;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 摄像机对应电脑IP */
    @Excel(name = "摄像机对应电脑IP")
    private String cameraComputerIp;

    public String getCameraComputerIp() {
        return cameraComputerIp;
    }

    public void setCameraComputerIp(String cameraComputerIp) {
        this.cameraComputerIp = cameraComputerIp;
    }

    public void setChannelId(Long channelId)
    {
        this.channelId = channelId;
    }

    public Long getChannelId() 
    {
        return channelId;
    }

    public void setEquipmentId(Long equipmentId) 
    {
        this.equipmentId = equipmentId;
    }

    public Long getEquipmentId() 
    {
        return equipmentId;
    }

    public void setEquipmentChannel(String equipmentChannel) 
    {
        this.equipmentChannel = equipmentChannel;
    }

    public String getEquipmentChannel() 
    {
        return equipmentChannel;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("channelId", getChannelId())
            .append("equipmentId", getEquipmentId())
            .append("equipmentChannel", getEquipmentChannel())
            .append("remark", getRemark())
            .append("cameraComputerIp", getCameraComputerIp())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
